import java.util.Scanner;
import javax.swing.JOptionPane;

public class Ex2_12{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.print("Enter balance and interest rate (e.g., 3 for %3): ");
		double balance = input.nextDouble();
		double annualInterestRate = input.nextDouble();
		double interest = balance * (annualInterestRate / 1200);
		interest = (int)(interest * 1000) / 1000.0;
		System.out.println("The interest is " + interest);
	}
}
